package com.wzt.greenhouse.model;

public class WriteConSensorParams {
	private String dangerid;
	private String order_type = "open";
	private String num;
	private String c_status;
	private String userid="0";
	
	WriteConSensorParams(ControlInfo info,String state,String commandString)
	{
		this.dangerid = info.getId();
		this.num = commandString;
		this.c_status = state;
	}
	
	public String getDangerid() {
		return dangerid;
	}
	
	public String getOrder_type() {
		return order_type;
	}
	
	public String getNum() {
		return num;
	}
	
	public String getC_status() {
		return c_status;
	}
	
	public String getUserid() {
		return userid;
	}
	
}
